#include <iostream>
using namespace std;

int main()
{
	int b = 6;
	int* a = &b;
	cout << b << endl;
	b = 8;
	cout << b << endl;
	*a = 10;
	cout << b;
	return 0;
}